package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.api.content.teacher.CourseTeacherDTO;
import com.xuecheng.api.content.teacher.CourseTeacherVO;
import com.xuecheng.content.entity.CourseTeacher;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 * 课程-教师关系表 服务类
 * </p>
 *
 * @author xuan
 * @since 2021-12-16
 */
public interface CourseTeacherService extends IService<CourseTeacher> {


    //查询教师信息
    List<CourseTeacherDTO> selectAll(Long courseBaseId , Long companyId);

    //添加或修改教师
    CourseTeacherDTO createOrModifyCourseTeacher(CourseTeacherDTO dto , Long companyId);

    //删除教师信息
    void removeCourseTeacher(Long courseBase, Long courseTeacherId,Long companyId);
}
